package com.ccrfid.rmc6.appconfig.exception.pojo;

public class AppException extends Exception {
    private Integer status;
    private Integer code;
    private String debugMessage;

    public AppException(Integer status, Integer code, String message, String debugMessage) {
        super(message);
        this.status = status;
        this.code = code;
        this.debugMessage = debugMessage;
    }

    public AppException() {

    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDebugMessage() {
        return debugMessage;
    }

    public void setDebugMessage(String debugMessage) {
        this.debugMessage = debugMessage;
    }
}
